<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.lg.system.CTurnPage" />
<%@ include file="/jsp/jscommom.jsp"%>
<!--
/**
 * 职位搜索
 */
-->
<html>
<head>
	<title>职位搜索</title>
	<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<%
		CTurnPage mPage = new CTurnPage();
		mPage = (CTurnPage) request.getAttribute("page");
%>
<script type="text/javascript">
function goto(url){

document.forms[0].action="/com/corpor/manage/hviewcorpor";
window.open(url,"_blank");
}
function domethod(){
document.all.method.value="search";
}
</script>
<body class="main">
	<html:form action="/com/struts/web/job/viewjob" method="get"  onsubmit="return domethod()">
	<html:hidden property="method"/>
		<table  width="880" border="0" align="center" cellpadding="0" cellspacing="1">
			<%@ include file="/jsp/top.jsp" %>
			<tr>
				<td align="center" valign="top">
					<table width="880" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" class="in_mid">
						<tr>
							<td width="10%" class="midName">
								序号
							</td>
							<td width="40%" class="midName">
								职位名称
							</td>
							<td width="40%" class="midName">
								公司名称
							</td>
						</tr>
						<logic:notEmpty name="page" property="sqlList">
							<logic:iterate type="com.struts.web.hopsearch.HopSearchViewForm"
								id="positionList" name="page" property="sqlList" indexId="index">
								<%
								if((index.intValue() + 1)%2==0){
								 %>
								<tr style="cursor:hand"
									onclick="goto('/com/corpor/manage/hviewcorpor.do?corporId=${positionList.corporId}')">
									<td class="mtdtextleft">
										<%=(index.intValue() + 1)%>
									</td>
									<td class="mtdtextleft">
										${positionList.position }
									</td>
									<td class="mtdtextleft">
										${positionList.corporationname }
									</td>
								</tr>
								<%
								}else{
								 %>
								 <tr style="cursor:hand"
									onclick="goto('/com/corpor/manage/hviewcorpor.do?corporId=${positionList.corporId}')">
									<td class="mtdtextleft">
										<%=(index.intValue() + 1)%>
									</td>
									<td class="mtdtextleft">
										${positionList.position }
									</td>
									<td class="mtdtextleft">
										${positionList.corporationname }
									</td>
								</tr>
								 <%
								 }
								  %>
							</logic:iterate>
						</logic:notEmpty>
						<logic:empty name="page" property="sqlList">
							<tr>
								<td class="mtdtextcenterwrite" colspan="3">
									没有可显示的内容!

								</td>
							</tr>
						</logic:empty>
						
						<tr>
							<td colspan="3">
								<table width='100%'>
									<tr>
										<td class="left">
											<%=mPage.getPageInfo()%>
										</td>
										<td class="right">
											<%=mPage.getTurnPageLink()%>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					</td>
					</tr>
					<%@ include file="/jsp/bottom.jsp" %>
					</table>
					</html:form>
</body>
</html>
